import Vue from 'vue'
import {
  Button,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Toast,
  Grid,
  GridItem,
  List,
  Cell,
  Image,
  PullRefresh,
  Stepper,
  Card,
  SubmitBar,
  Loading,
  Tab,
  Tabs,
  Lazyload,
  Icon,
  Field,
  CellGroup,
  Search,
  Divider,
  Panel,
  SwipeCell,
  Tag,
  Notify,
  Dialog
} from 'vant'

import 'vant/lib/index.css'
Vue.use(Button)
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Swipe).use(SwipeItem)
Vue.use(Toast)
Vue.use(Grid).use(GridItem)
Vue.use(List)
Vue.use(Cell)
Vue.use(Image)
Vue.use(PullRefresh).use(List)
Vue.use(Stepper)
Vue.use(Card)
Vue.use(SubmitBar)
Vue.use(Loading)
Vue.use(Search)
Vue.use(Divider)
Vue.use(Panel)
Vue.use(SwipeCell)
Vue.use(Tag)
Vue.use(Notify)
Vue.use(Dialog)
Vue.use(Tab)
  .use(Tabs)
  .use(Image)
  .use(Lazyload)
  .use(Icon)
  .use(Field)
  .use(List)
  .use(CellGroup)
